[Variables] disable_base_module_tags - sblair01/terraform-azurerm-caf-enterprise-scale GitHub Wiki
Overview
disable_base_module_tags bool
(optional)
If set to true, will remove the base module tags applied to all resources deployed by the module which support tags.
Default value
false
Validation
None
Usage
Although not set by the default_tags
input variable, the module will apply a set of base tags to all resources allowing you to easily identify that they were created by this module, including the module version as per the below example:
{
deployedBy = "terraform/azure/caf-enterprise-scale/{{module_version}}"
}
This helps you to easily identify which resources are managed by the module when working interactively with resources through the Portal, Azure Powershell, AZ CLI, or any other SDK.
Although we advise against this, this can be disabled by setting the input variable disable_base_module_tags = true
in the module block.
To prevent the module from appending the base module tags, simply set the following input variable in your module block:
disable_base_module_tags = true